package com.yz.jdd.base.utils;

import com.yz.jdd.BuildConfig;

import java.util.Map;

/**
 * Created by shibin on 2016/12/27.
 * 常量设置类
 */

public class Constants {
    public static final String BRAND_NAME = "同福";
    public static final String BRAND_VOICE = "同福共享付";

    public static final String BRAND_NAME_EN = "tongfu";
    public static final String BRAND_DOMAIN = "www.tongfugroup.com";
    public static final int ORDER_AMOUNT = 100;
    public static final int WAKEUPINTERVAL = 10 * 1000;

    public static final String LOG_PATH = "/sdcard/com.tongfu.bm/.log";

    public static final String PRE_STRING_ORDERS = "pre_string_orders";
    public static final String PRE_SHOW_GUIDE = "pre_boolean_show_guide";//是否显示guideactivity
    public static final String PRE_IS_AUTO_LOGIN = "pre_string_auto_login";//是否自动登录

    // 隐私协议是否同意
    public static final String PREF_PRIVACY_AGREED = "app_privacy_agreed";

    //正式
    public static final String SERVER_URL = BuildConfig.SERVER_URL;

    //乐刷
//    public static final String SERVER_URL = "http://d3582.cross-bmserver-app.yunzong:11490/";

    //对账单
//    public static final String SERVER_URL = "http://d4767.cross-bmserver-app.yunzong:11490/";

    // 码id
//    public static final String SERVER_URL = "http://d4767.cross-bmserver-app.yunzong:11490/";


//    public static final String SERVER_URL = "http://crouter.yunzongnet.com/cross-bmserver-app/d1539/";


    public static final String H5_WEB_URL = "h5_web_url";//打开h5界面传递过去的url
    public static final String H5_WEB_TITLE = "h5_web_title";//打开h5界面传递过去的title
    public static final String H5_WEB_MEMBERCARDID = "?memberCardId=";//需要拼接在请求地址后面
    public static final String H5_WEB_ORDERID = "?orderId=";//需要拼接在请求地址后面
    public static final String REGEX = ",";
    public static final String PRE_STRING_CANCEL_ORDERS = "pre_string_cancel_orders";
    public static final String PREF_ANDROID_ID = "app_android_id";
    // 用于存放倒计时时间
    public static Map<String, Long> map;
    public static final String KILL_APP = "com.yz.jdd.killapp";//关闭app广播

    /**
     * ActivityForResult Code
     */
    public static final int FilterActivityForResultCode = 2001;
    public static final int SettingsActivityForResultCode = 2002;
//    public static final int OrderFragmentForResultCode = 2003;
    public static final int SelectCodeResultCode = 2004;
    public static final int FilterActivityForResultCode_2005 = 2005;
    public static final int SelectDeviceResultCode = 2006;

}
